﻿using System;
using System.Linq;

class PrintPerimeterAndArea
{
    static void Main(string[] args)
    {
		System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
        //Read radius from console
        string input = Console.ReadLine();
        double r = double.Parse(input);
        
        //Calculate perimeter
        double perimeter = 2 * Math.PI * r;

        //Calculate area
        double area = Math.PI * r * r;
        Console.WriteLine ("{0:F2}", perimeter);
        Console.WriteLine ("{0:F2}", area);
    }
}
